package com.example.adminframework.constant;

/**
 * 等保级别枚举
 */
public enum SecurityLevel {

    // 不评级
    NO_RATING(0),
    S1A1G1(1),
    S1A2G2(2),
    S2A2G2(3),
    S2A1G2(4),
    S1A3G3(5),
    S2A3G3(6),
    S3A3G3(7),
    S3A2G3(8),
    S3A1G3(9),
    S1A4G4(10),
    S2A4G4(11),
    S3A4G4(12),
    S4A4G4(13),
    S4A3G4(14),
    S4A2G4(15),
    S4A1G4(16);

    private int value;

    SecurityLevel(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

}
